#include "TexClass.h"

TexClass::TexClass()
{
	m_pTexture = NULL;
}

TexClass::~TexClass()
{

}

bool TexClass::Initialize(ID3D11Device* device, WCHAR* filename)
{
	HR(D3DX11CreateShaderResourceViewFromFileW(device, filename, NULL, NULL, &m_pTexture, NULL));
}

void TexClass::ShutDown()
{

}

ID3D11ShaderResourceView* TexClass::GetTexture()
{
	return m_pTexture;
}

